package com.code.Day12Meiju.not1;

public enum State {
    WEIFAHUO("未发货"),
    YIFAHUO,
    YISHOUHUO,
    YIFUKUANG;
    String name;
    private  State(){

    }

//    为属性赋值
    private  State(String name){
        this.name=name;
    }

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
}
